<!-- 是撒打发斯蒂芬 -->

<template>
	<view>
		<u-navbar title="设置" :autoBack="true" placeholder />

		<u-cell-group class="group">
			<u-cell icon="setting-fill" title="个人设置" is-link></u-cell> 
			<u-cell icon="setting-fill" title="个人设置" is-link></u-cell> 
			<u-cell icon="setting-fill" title="个人设置" is-link></u-cell>  
		</u-cell-group>
		
		<view class="footer" @click="logout">
			退出
		</view>
	</view>
</template>

<script>
	export default {
		methods: {  
			logout() {
				uni.removeStorageSync('phone');
				uni.navigateBack();
			}
		}
	}
	
</script>

<style>
	page {
		background-color: #f4f4f4;
	}
	.group {
		background-color: #fff;
		margin-top: 5px;
	}
	.footer {
		height: 50px;
		background-color: #fff;
		position: fixed;
		bottom: 0;
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #c03131;
	}
</style>